package com.likai.blog.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.likai.blog.dao.IBlogTypeMapper;
import com.likai.blog.pojo.BlogType;
import com.likai.blog.service.IBlogTypeService;

@Service("blogTypeService")
public class BlogTypeServiceImpl implements IBlogTypeService {
	
	@Autowired
	private IBlogTypeMapper blogTypeMapper ;

	@Transactional(readOnly=true)
	public List<BlogType> findListAndCount() {
		return blogTypeMapper.selectListAndCount();
	}

}
